x86: Allow dom0 pstate control to access APERF/MPERF/HWCR MSRs
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Aug 2010 07:38:35 +0000 (08:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Aug 2010 07:38:35 +0000 (08:38 +0100)
commit76ec4da93b8a101ae3e2850da771f08b311cbaae
tree35b410a05ba29560d63ac4399616fcca2a2e581d
parent3a37d430ce266c8ec742a0075cd4a76e358c6a04
x86: Allow dom0 pstate control to access APERF/MPERF/HWCR MSRs

The current version of the powernow driver uses the APERF/MPEF
and the HWCR MSRs.  Add cases in traps.c to let dom0 access
those MSRs.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
xen/arch/x86/traps.c